Status XQueryBestTile(display, which_screen, width, height, width_return, height_return)
Display *display;
Drawable which_screen;
unsigned int width, height;
unsigned int *width_return, *height_return;
Arguments- display
- Specifies the connection to the X server.
- which_screen
- Specifies any drawable on the screen.
- width
- height
- Specify the width and height.
- width_return
- height_return
- Return the width and height of the object best supported by the display hardware.
Return Values- BadDrawable
- A value for a Drawable argument does not name a defined Window or Pixmap.
- BadMatch
- An InputOnly window is used as a Drawable.
- Some argument or pair of arguments has the correct type and range but fails to match in some other way required by the request.